package com.wicket.okrcomponent.biz.service.impl;

import cn.hutool.core.bean.BeanUtil;
import com.wicket.okrcomponent.biz.service.dto.req.*;
import com.wicket.okrcomponent.biz.service.dto.res.*;
import com.wicket.okrcomponent.common.exception.BizException;
import com.wicket.okrcomponent.common.util.CommonFunctionHelper;
import com.wicket.okrcomponent.common.util.RedisUtil;
import java.util.List;
import java.util.stream.Collectors;
import javax.annotation.Resource;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.wicket.okrcomponent.biz.service.dto.common.RedisBusinessDataResDto;
import com.wicket.okrcomponent.common.exception.Assert;
import com.wicket.okrcomponent.biz.service.BusinessAtomService;
import com.wicket.okrcomponent.biz.service.nb.NbTargetCalc;
import com.wicket.okrcomponent.biz.service.ConfSchemeService;
import com.wicket.okrcomponent.base.service.MCustomFields3Service;
import com.wicket.okrcomponent.biz.service.dto.common.DataSetsListOneDto;
import cn.hutool.core.collection.CollectionUtil;
import com.wicket.okrcomponent.biz.service.InterfaceModeService;

/**
 * @author ：
 * @date ：
 * 
 *
 * @version 1.0
 */
@Service
public class TargetCalcServiceImpl
  implements com.wicket.okrcomponent.biz.service.TargetCalcService {

  @Resource
  private RedisUtil redisUtil;
@Resource
  private BusinessAtomService businessAtomService;
//@Resource
 //private MCustomFields4Service mCustomFields4Service;
@Resource
  private NbTargetCalc nbTargetCalc;
@Resource
  private ConfSchemeService confSchemeService;
@Resource
  private MCustomFields3Service mCustomFields3Service;
@Resource
  private InterfaceModeService interfaceModeService;
//@Resource
 //private MCustomFields5Service mCustomFields5Service;
/**
   * D2查询目标标准数据列表(redis)[8648]
   * gen by moon at 5/27/2024, 10:09:06 PM
   */
  @Trace(operationName = "D2查询目标标准数据列表(redis)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryTargetStandardDataListComRespDto queryTargetStandardDataListCom(QueryTargetStandardDataListComReqDto reqDto){
    
      
      QueryRedisBusinessDataSetListComRespDto queryRedisBusinessDataSetListComRespDto_1 =null;
//步骤0: D2-查询redis业务数据对象列表（业务原子） - queryRedisBusinessDataSetListCom
     QueryRedisBusinessDataSetListComRespDto queryRedisBusinessDataSetListComRespDto = null;
    QueryRedisBusinessDataSetListComReqDto queryRedisBusinessDataSetListComReqDto=new QueryRedisBusinessDataSetListComReqDto();
  queryRedisBusinessDataSetListComReqDto.setRedisDataObjectCatalogue("计算临时数据");//sourceId:1823182_1
  queryRedisBusinessDataSetListComReqDto.setCustomField1("dataResult");//CUSTOM_CONVENTION//sourceId:1611911_1
queryRedisBusinessDataSetListComReqDto.setCustomField2("unit");//CUSTOM_CONVENTION//sourceId:1611912_1
queryRedisBusinessDataSetListComReqDto.setCustomField3("resultType");//CUSTOM_CONVENTION//sourceId:1611913_1
queryRedisBusinessDataSetListComReqDto.setCustomField4("isSystemDocking");//CUSTOM_CONVENTION//sourceId:1611914_1
queryRedisBusinessDataSetListComReqDto.setCustomField5("dataType");//CUSTOM_CONVENTION//sourceId:1611915_1
queryRedisBusinessDataSetListComReqDto.setCustomField6("dataUsageSceneCode");//CUSTOM_CONVENTION//sourceId:1611916_1
queryRedisBusinessDataSetListComReqDto.setCustomField7("previousCycleId");//CUSTOM_CONVENTION//sourceId:1611917_1
queryRedisBusinessDataSetListComReqDto.setCustomField9("periodId");//CUSTOM_CONVENTION//sourceId:1611919_1
queryRedisBusinessDataSetListComReqDto.setCustomField10("cycleStartTime");//CUSTOM_CONVENTION//sourceId:1611920_1
queryRedisBusinessDataSetListComReqDto.setCustomField11("cycleEndTime");//CUSTOM_CONVENTION//sourceId:1611921_1
queryRedisBusinessDataSetListComReqDto.setCustomField12("cycleTypeCode");//CUSTOM_CONVENTION//sourceId:1611922_1
queryRedisBusinessDataSetListComReqDto.setCustomField13("cycleTypeInstanceCode");//CUSTOM_CONVENTION//sourceId:1611923_1
queryRedisBusinessDataSetListComReqDto.setCustomField14("updateCycleId");//CUSTOM_CONVENTION//sourceId:1611924_1
queryRedisBusinessDataSetListComReqDto.setCustomField15("updateCycleStartTime");//CUSTOM_CONVENTION//sourceId:1611925_1
queryRedisBusinessDataSetListComReqDto.setCustomField16("updateCycleEndTime");//CUSTOM_CONVENTION//sourceId:1611926_1
queryRedisBusinessDataSetListComReqDto.setCustomField17("updateCycleTypeCode");//CUSTOM_CONVENTION//sourceId:1611927_1
queryRedisBusinessDataSetListComReqDto.setCustomField18("standardDataCalcCycleModel");//CUSTOM_CONVENTION//sourceId:1611928_1
queryRedisBusinessDataSetListComReqDto.setCustomField19("parentSubMidCycleType");//CUSTOM_CONVENTION//sourceId:1611929_1
queryRedisBusinessDataSetListComReqDto.setCustomField20("isWorkCycleData");//CUSTOM_CONVENTION//sourceId:1611930_1
queryRedisBusinessDataSetListComReqDto.setCustomField21("workCycleUpdateSlice");//CUSTOM_CONVENTION//sourceId:1611931_1
queryRedisBusinessDataSetListComReqDto.setCustomField22("fromContentTableTypeCode");//CUSTOM_CONVENTION//sourceId:1611932_1
queryRedisBusinessDataSetListComReqDto.setCustomField23("fromContentEntityId");//CUSTOM_CONVENTION//sourceId:1611933_1
queryRedisBusinessDataSetListComReqDto.setCustomField24("tableTypeCode");//CUSTOM_CONVENTION//sourceId:1611934_1
queryRedisBusinessDataSetListComReqDto.setCustomField25("entityId");//CUSTOM_CONVENTION//sourceId:1611935_1
queryRedisBusinessDataSetListComReqDto.setCustomField26("belongToContentTypeCode");//CUSTOM_CONVENTION//sourceId:1611936_1
queryRedisBusinessDataSetListComReqDto.setCustomField27("belongToContentId");//CUSTOM_CONVENTION//sourceId:1611937_1
queryRedisBusinessDataSetListComReqDto.setCustomField28("themeContentId");//CUSTOM_CONVENTION//sourceId:1611938_1
queryRedisBusinessDataSetListComReqDto.setCustomField29("extendedField1");//CUSTOM_CONVENTION//sourceId:1611939_1
queryRedisBusinessDataSetListComReqDto.setCustomField30("extendedField2");//CUSTOM_CONVENTION//sourceId:1611940_1
queryRedisBusinessDataSetListComReqDto.setCustomField31("personLiableObjId");//CUSTOM_CONVENTION//sourceId:1611941_1
queryRedisBusinessDataSetListComReqDto.setCustomField36("personLiableTypeCode");//CUSTOM_CONVENTION//sourceId:1611946_1
queryRedisBusinessDataSetListComReqDto.setCustomField32("bizRoleObjId");//CUSTOM_CONVENTION//sourceId:1611942_1
queryRedisBusinessDataSetListComReqDto.setCustomField33("bizRoleObjCode");//CUSTOM_CONVENTION//sourceId:1611943_1
queryRedisBusinessDataSetListComReqDto.setCustomField34("bizRoleObjName");//CUSTOM_CONVENTION//sourceId:1611944_1
queryRedisBusinessDataSetListComReqDto.setCustomField35("belongToPersonalIdentityId");//CUSTOM_CONVENTION//sourceId:1611945_1
if(reqDto!=null){
      queryRedisBusinessDataSetListComReqDto.setBusinessDataObject(reqDto.getBusinessDataObject());//SimpleFieldAssign//sourceId:1611909_1
queryRedisBusinessDataSetListComReqDto.setDataObjectBatchCode(reqDto.getDataObjectBatchCode());//SimpleFieldAssign//sourceId:1611910_1
    }
  
    /*D2-查询redis业务数据对象列表（业务原子）[8420]   */
    Assert.isNull(queryRedisBusinessDataSetListComReqDto.getBusinessDataObject(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-业务数据对象不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getDataObjectBatchCode(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-数据对象批次标识不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getRedisDataObjectCatalogue(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-Redis数据对象目录不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField1(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段1不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField2(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段2不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField3(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段3不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField4(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段4不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField5(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段5不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField6(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段6不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField7(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段7不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField9(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段9不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField10(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段10不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField11(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段11不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField12(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段12不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField13(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段13不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField14(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段14不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField15(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段15不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField16(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段16不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField17(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段17不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField18(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段18不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField19(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段19不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField20(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段20不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField21(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段21不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField22(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段22不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField23(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段23不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField24(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段24不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField25(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段25不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField26(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段26不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField27(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段27不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField28(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段28不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField29(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段29不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField30(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段30不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField36(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段36不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField32(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段32不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField33(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段33不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField34(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段34不能为空",false);
Assert.isNull(queryRedisBusinessDataSetListComReqDto.getCustomField35(),"D2查询目标标准数据列表(redis)-D2-查询redis业务数据对象列表（业务原子）-自定义字段35不能为空",false);
      queryRedisBusinessDataSetListComRespDto = businessAtomService.queryRedisBusinessDataSetListCom(queryRedisBusinessDataSetListComReqDto)/*vcase invoke isSameApp*/;
      
      
      queryRedisBusinessDataSetListComRespDto_1 = queryRedisBusinessDataSetListComRespDto;
    
QueryTargetStandardDataListComRespDto retData = new QueryTargetStandardDataListComRespDto();
  if(queryRedisBusinessDataSetListComRespDto_1!=null){
      retData.setRedisBusinessDataResList(queryRedisBusinessDataSetListComRespDto_1.getRedisBusinessDataResList().stream().map(item -> BeanUtil.toBean(item, RedisBusinessDataResDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1612000_1
    }
  

  
  
return retData;
  }
/**
   * D2新增目标标准数据(redis)[8647]
   * gen by moon at 5/27/2024, 10:09:05 PM
   */
  @Trace(operationName = "D2新增目标标准数据(redis)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public AddTargetStandardDataComRespDto addTargetStandardDataCom(AddTargetStandardDataComReqDto reqDto){
    
      
      //步骤0: D2-新增redis业务数据对象（业务原子） - addRedisBusinessDataSetCom
     AddRedisBusinessDataSetComRespDto addRedisBusinessDataSetComRespDto = null;
    AddRedisBusinessDataSetComReqDto addRedisBusinessDataSetComReqDto=new AddRedisBusinessDataSetComReqDto();
  addRedisBusinessDataSetComReqDto.setRedisDataObjectCatalogue("计算临时数据");//sourceId:1823073_1
addRedisBusinessDataSetComReqDto.setIsDeleteRedis("FALSE");//sourceId:1823074_1
addRedisBusinessDataSetComReqDto.setDuration(Long.valueOf(2));//CUSTOM_CONVENTION//sourceId:1823075_1
addRedisBusinessDataSetComReqDto.setTimeUnitType("HOUR");//sourceId:1823076_1
  addRedisBusinessDataSetComReqDto.setIsDataList("TRUE");//sourceId:1611806_1
addRedisBusinessDataSetComReqDto.setCustomField50("dataType");//CUSTOM_CONVENTION//sourceId:1626117_1
addRedisBusinessDataSetComReqDto.setCustomField49("dataUsageSceneCode");//CUSTOM_CONVENTION//sourceId:1626121_1
addRedisBusinessDataSetComReqDto.setCustomField1("dataResult");//CUSTOM_CONVENTION//sourceId:1611808_1
addRedisBusinessDataSetComReqDto.setCustomField2("unit");//CUSTOM_CONVENTION//sourceId:1611810_1
addRedisBusinessDataSetComReqDto.setCustomField3("isSystemDocking");//CUSTOM_CONVENTION//sourceId:1611812_1
addRedisBusinessDataSetComReqDto.setCustomField4("parentDataResult");//CUSTOM_CONVENTION//sourceId:1611814_1
addRedisBusinessDataSetComReqDto.setCustomField5("parentDataResultId");//CUSTOM_CONVENTION//sourceId:1611816_1
addRedisBusinessDataSetComReqDto.setCustomField48("previousCycleId");//CUSTOM_CONVENTION//sourceId:1626730_1
addRedisBusinessDataSetComReqDto.setCustomField6("periodId");//CUSTOM_CONVENTION//sourceId:1611818_1
addRedisBusinessDataSetComReqDto.setCustomField7("cycleStartTime");//CUSTOM_CONVENTION//sourceId:1611820_1
addRedisBusinessDataSetComReqDto.setCustomField8("cycleEndTime");//CUSTOM_CONVENTION//sourceId:1611822_1
addRedisBusinessDataSetComReqDto.setCustomField9("cycleTypeCode");//CUSTOM_CONVENTION//sourceId:1611824_1
addRedisBusinessDataSetComReqDto.setCustomField10("cycleTypeInstanceCode");//CUSTOM_CONVENTION//sourceId:1611826_1
addRedisBusinessDataSetComReqDto.setCustomField11("updateCycleId");//CUSTOM_CONVENTION//sourceId:1611828_1
addRedisBusinessDataSetComReqDto.setCustomField12("updateCycleStartTime");//CUSTOM_CONVENTION//sourceId:1611830_1
addRedisBusinessDataSetComReqDto.setCustomField13("updateCycleEndTime");//CUSTOM_CONVENTION//sourceId:1611832_1
addRedisBusinessDataSetComReqDto.setCustomField14("updateCycleTypeCode");//CUSTOM_CONVENTION//sourceId:1611834_1
addRedisBusinessDataSetComReqDto.setCustomField15("standardDataCalcCycleModel");//CUSTOM_CONVENTION//sourceId:1611836_1
addRedisBusinessDataSetComReqDto.setCustomField16("parentSubMidCycleType");//CUSTOM_CONVENTION//sourceId:1611838_1
addRedisBusinessDataSetComReqDto.setCustomField17("isWorkCycleData");//CUSTOM_CONVENTION//sourceId:1611840_1
addRedisBusinessDataSetComReqDto.setCustomField18("workCycleUpdateSlice");//CUSTOM_CONVENTION//sourceId:1611842_1
addRedisBusinessDataSetComReqDto.setCustomField19("fromContentTableTypeCode");//CUSTOM_CONVENTION//sourceId:1611844_1
addRedisBusinessDataSetComReqDto.setCustomField20("fromContentEntityId");//CUSTOM_CONVENTION//sourceId:1611846_1
addRedisBusinessDataSetComReqDto.setCustomField21("tableTypeCode");//CUSTOM_CONVENTION//sourceId:1611848_1
addRedisBusinessDataSetComReqDto.setCustomField22("entityId");//CUSTOM_CONVENTION//sourceId:1611850_1
addRedisBusinessDataSetComReqDto.setCustomField23("belongToContentTypeCode");//CUSTOM_CONVENTION//sourceId:1611852_1
addRedisBusinessDataSetComReqDto.setCustomField24("belongToContentId");//CUSTOM_CONVENTION//sourceId:1611854_1
addRedisBusinessDataSetComReqDto.setCustomField25("themeContentId");//CUSTOM_CONVENTION//sourceId:1611856_1
addRedisBusinessDataSetComReqDto.setCustomField26("extendedField1");//CUSTOM_CONVENTION//sourceId:1611858_1
addRedisBusinessDataSetComReqDto.setCustomField27("extendedField2");//CUSTOM_CONVENTION//sourceId:1611860_1
addRedisBusinessDataSetComReqDto.setCustomField28("personLiableObjId");//CUSTOM_CONVENTION//sourceId:1611862_1
addRedisBusinessDataSetComReqDto.setCustomField29("personLiableTypeCode");//CUSTOM_CONVENTION//sourceId:1611864_1
addRedisBusinessDataSetComReqDto.setCustomField30("bizRoleObjId");//CUSTOM_CONVENTION//sourceId:1611866_1
addRedisBusinessDataSetComReqDto.setCustomField31("bizRoleObjCode");//CUSTOM_CONVENTION//sourceId:1611868_1
addRedisBusinessDataSetComReqDto.setCustomField32("bizRoleObjName");//CUSTOM_CONVENTION//sourceId:1611870_1
addRedisBusinessDataSetComReqDto.setCustomField33("belongToPersonalIdentityId");//CUSTOM_CONVENTION//sourceId:1611872_1
addRedisBusinessDataSetComReqDto.setCustomField34("belongToPersonalIdentityTypeCode");//CUSTOM_CONVENTION//sourceId:1611874_1
if(reqDto!=null){
      addRedisBusinessDataSetComReqDto.setBusinessDataObject(reqDto.getBusinessDataObject());//SimpleFieldAssign//sourceId:1611807_1
addRedisBusinessDataSetComReqDto.setDataObjectBatchCode(reqDto.getDataObjectBatchCode());//SimpleFieldAssign//sourceId:1611908_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue50(reqDto.getCustomFieldValue50());//SimpleFieldAssign//sourceId:1626118_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue49(reqDto.getCustomFieldValue49());//SimpleFieldAssign//sourceId:1626122_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue1(reqDto.getCustomFieldValue1());//SimpleFieldAssign//sourceId:1611809_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue2(reqDto.getCustomFieldValue2());//SimpleFieldAssign//sourceId:1611811_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue3(reqDto.getCustomFieldValue3());//SimpleFieldAssign//sourceId:1611813_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue4(reqDto.getCustomFieldValue4());//SimpleFieldAssign//sourceId:1611815_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue5(reqDto.getCustomFieldValue5());//SimpleFieldAssign//sourceId:1611817_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue48(reqDto.getCustomFieldValue48());//SimpleFieldAssign//sourceId:1626731_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue6(reqDto.getCustomFieldValue6());//SimpleFieldAssign//sourceId:1611819_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue7(reqDto.getCustomFieldValue7());//SimpleFieldAssign//sourceId:1611821_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue8(reqDto.getCustomFieldValue8());//SimpleFieldAssign//sourceId:1611823_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue9(reqDto.getCustomFieldValue9());//SimpleFieldAssign//sourceId:1611825_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue10(reqDto.getCustomFieldValue10());//SimpleFieldAssign//sourceId:1611827_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue11(reqDto.getCustomFieldValue11());//SimpleFieldAssign//sourceId:1611829_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue12(reqDto.getCustomFieldValue12());//SimpleFieldAssign//sourceId:1611831_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue13(reqDto.getCustomFieldValue13());//SimpleFieldAssign//sourceId:1611833_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue14(reqDto.getCustomFieldValue14());//SimpleFieldAssign//sourceId:1611835_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue15(reqDto.getCustomFieldValue15());//SimpleFieldAssign//sourceId:1611837_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue16(reqDto.getCustomFieldValue16());//SimpleFieldAssign//sourceId:1611839_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue17(reqDto.getCustomFieldValue17());//SimpleFieldAssign//sourceId:1611841_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue18(reqDto.getCustomFieldValue18());//SimpleFieldAssign//sourceId:1611843_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue19(reqDto.getCustomFieldValue19());//SimpleFieldAssign//sourceId:1611845_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue20(reqDto.getCustomFieldValue20());//SimpleFieldAssign//sourceId:1611847_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue21(reqDto.getCustomFieldValue21());//SimpleFieldAssign//sourceId:1611849_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue22(reqDto.getCustomFieldValue22());//SimpleFieldAssign//sourceId:1611851_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue23(reqDto.getCustomFieldValue23());//SimpleFieldAssign//sourceId:1611853_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue24(reqDto.getCustomFieldValue24());//SimpleFieldAssign//sourceId:1611855_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue25(reqDto.getCustomFieldValue25());//SimpleFieldAssign//sourceId:1611857_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue26(reqDto.getCustomFieldValue26());//SimpleFieldAssign//sourceId:1611859_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue27(reqDto.getCustomFieldValue27());//SimpleFieldAssign//sourceId:1611861_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue28(reqDto.getCustomFieldValue28());//SimpleFieldAssign//sourceId:1611863_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue29(reqDto.getCustomFieldValue29());//SimpleFieldAssign//sourceId:1611865_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue30(reqDto.getCustomFieldValue30());//SimpleFieldAssign//sourceId:1611867_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue31(reqDto.getCustomFieldValue31());//SimpleFieldAssign//sourceId:1611869_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue32(reqDto.getCustomFieldValue32());//SimpleFieldAssign//sourceId:1611871_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue33(reqDto.getCustomFieldValue33());//SimpleFieldAssign//sourceId:1611873_1
addRedisBusinessDataSetComReqDto.setCustomFieldValue34(reqDto.getCustomFieldValue34());//SimpleFieldAssign//sourceId:1611875_1
    }
  
    /*D2-新增redis业务数据对象（业务原子）[8399]   */
    Assert.isNull(addRedisBusinessDataSetComReqDto.getBusinessDataObject(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-业务数据对象不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getRedisDataObjectCatalogue(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-Redis数据对象目录不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getIsDeleteRedis(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-是否删除redis历史数据不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getDuration(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-锁定时长不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getTimeUnitType(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-时间单位类型不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getIsDataList(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-是否是数据集对象不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField50(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段50不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField49(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段49不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField1(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段1不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField2(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段2不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField3(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段3不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField4(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段4不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField5(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段5不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField48(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段48不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField6(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段6不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField7(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段7不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField8(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段8不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField9(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段9不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField10(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段10不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField11(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段11不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue11(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值11不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField12(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段12不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue12(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值12不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField13(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段13不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue13(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值13不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField14(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段14不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue14(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值14不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField15(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段15不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue15(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值15不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue16(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值16不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField17(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段17不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomFieldValue17(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段值17不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField18(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段18不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField19(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段19不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField20(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段20不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField21(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段21不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField22(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段22不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField23(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段23不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField24(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段24不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField25(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段25不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField26(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段26不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField27(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段27不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField28(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段28不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField29(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段29不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField30(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段30不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField31(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段31不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField32(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段32不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField33(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段33不能为空",false);
Assert.isNull(addRedisBusinessDataSetComReqDto.getCustomField34(),"D2新增目标标准数据(redis)-D2-新增redis业务数据对象（业务原子）-自定义字段34不能为空",false);
      addRedisBusinessDataSetComRespDto = businessAtomService.addRedisBusinessDataSetCom(addRedisBusinessDataSetComReqDto)/*vcase invoke isSameApp*/;
      
      
      
    
AddTargetStandardDataComRespDto retData = new AddTargetStandardDataComRespDto();
  
  

  
  
return retData;
  }
/**
   * D2准备刷OKR树目标归属周期配置(公共)[8764]
   * gen by moon at 5/13/2024, 10:42:12 PM
   */
  @Trace(operationName = "D2准备刷OKR树目标归属周期配置(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public PreparationBrushOkrTreeTargetAttributionCycleConfComRespDto preparationBrushOkrTreeTargetAttributionCycleConfCom(PreparationBrushOkrTreeTargetAttributionCycleConfComReqDto reqDto){


      ImplementSmartSessionReceiveFieldInputRespDto receptionServiceRes_2 =null;
//步骤0: M2执行智能沟通接收入参 - implementSmartSessionReceiveFieldInput
     //ModelCode: receptionService
        ImplementSmartSessionReceiveFieldInputRespDto receptionServiceRes = null;
    ImplementSmartSessionReceiveFieldInputReqDto receptionServiceReq=new ImplementSmartSessionReceiveFieldInputReqDto();
  if(reqDto!=null){
      receptionServiceReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1645775_1
    }

    /*M2接收入参字段[8109]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getEvaluationTemplateId(),"D2准备刷OKR树目标归属周期配置(公共)-M2接收入参字段-评价模板ID不能为空",false);
      receptionServiceRes = nbTargetCalc.implementSmartSessionReceiveFieldInput(receptionServiceReq);




//步骤1: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
     QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto = null;
    QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto=new QueryConfItemMatchAnswerDetailComReqDto();
  queryConfItemMatchAnswerDetailComReqDto.setConfItemCode("CYCLE_MODE");//CUSTOM_CONVENTION//sourceId:1645773_1
queryConfItemMatchAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:1645774_1
if(reqDto!=null){
      queryConfItemMatchAnswerDetailComReqDto.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1645772_1
    }

    /*D2查周期模式配置答案（公共）[2486]   */
    Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjId(),"D2准备刷OKR树目标归属周期配置(公共)-D2查周期模式配置答案（公共）-开通对象ID不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getConfItemCode(),"D2准备刷OKR树目标归属周期配置(公共)-D2查周期模式配置答案（公共）-配置项标识不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getIsPlatData(),"D2准备刷OKR树目标归属周期配置(公共)-D2查周期模式配置答案（公共）-是否标准答案不能为空",false);
      queryConfItemMatchAnswerDetailComRespDto = confSchemeService.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto)/*vcase invoke isSameApp*/;




//步骤2: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
     QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_2 = null;
    QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_1=new QueryConfItemMatchAnswerDetailComReqDto();
  queryConfItemMatchAnswerDetailComReqDto_1.setConfItemCode("SUBCYCLE_TYPE");//CUSTOM_CONVENTION//sourceId:1646129_1
queryConfItemMatchAnswerDetailComReqDto_1.setIsPlatData("FALSE");//sourceId:1646130_1
if(reqDto!=null){
      queryConfItemMatchAnswerDetailComReqDto_1.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1646128_1
    }

    /*D2查子周期类型配置答案（公共）[2486]   */
    Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getResultAspObjId(),"D2准备刷OKR树目标归属周期配置(公共)-D2查子周期类型配置答案（公共）-开通对象ID不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getConfItemCode(),"D2准备刷OKR树目标归属周期配置(公共)-D2查子周期类型配置答案（公共）-配置项标识不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getIsPlatData(),"D2准备刷OKR树目标归属周期配置(公共)-D2查子周期类型配置答案（公共）-是否标准答案不能为空",false);
      queryConfItemMatchAnswerDetailComRespDto_2 = confSchemeService.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_1)/*vcase invoke isSameApp*/;




//步骤3: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
     QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_4 = null;
    QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_2=new QueryConfItemMatchAnswerDetailComReqDto();
  queryConfItemMatchAnswerDetailComReqDto_2.setConfItemCode("LAST_CYCLE_TYPE");//CUSTOM_CONVENTION//sourceId:1646133_1
queryConfItemMatchAnswerDetailComReqDto_2.setIsPlatData("FALSE");//sourceId:1646134_1
if(reqDto!=null){
      queryConfItemMatchAnswerDetailComReqDto_2.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1646132_1
    }

    /*D2查末级周期类型答案(公共)[2486]   */
    Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_2.getResultAspObjId(),"D2准备刷OKR树目标归属周期配置(公共)-D2查末级周期类型答案(公共)-开通对象ID不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_2.getConfItemCode(),"D2准备刷OKR树目标归属周期配置(公共)-D2查末级周期类型答案(公共)-配置项标识不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_2.getIsPlatData(),"D2准备刷OKR树目标归属周期配置(公共)-D2查末级周期类型答案(公共)-是否标准答案不能为空",false);
      queryConfItemMatchAnswerDetailComRespDto_4 = confSchemeService.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_2)/*vcase invoke isSameApp*/;




//步骤4: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
     QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_6 = null;
    QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_3=new QueryConfItemMatchAnswerDetailComReqDto();
  queryConfItemMatchAnswerDetailComReqDto_3.setConfItemCode("SECOND_LAST_CYCLE_TYPE");//CUSTOM_CONVENTION//sourceId:1646137_1
queryConfItemMatchAnswerDetailComReqDto_3.setIsPlatData("FALSE");//sourceId:1646138_1
if(reqDto!=null){
      queryConfItemMatchAnswerDetailComReqDto_3.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1646136_1
    }

    /*D2查第2末级周期类型答案(公共)[2486]   */
    Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_3.getResultAspObjId(),"D2准备刷OKR树目标归属周期配置(公共)-D2查第2末级周期类型答案(公共)-开通对象ID不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_3.getConfItemCode(),"D2准备刷OKR树目标归属周期配置(公共)-D2查第2末级周期类型答案(公共)-配置项标识不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_3.getIsPlatData(),"D2准备刷OKR树目标归属周期配置(公共)-D2查第2末级周期类型答案(公共)-是否标准答案不能为空",false);
      queryConfItemMatchAnswerDetailComRespDto_6 = confSchemeService.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_3)/*vcase invoke isSameApp*/;




//步骤5: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
     QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_8 = null;
    QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_4=new QueryConfItemMatchAnswerDetailComReqDto();
  queryConfItemMatchAnswerDetailComReqDto_4.setConfItemCode("ENABLE_SUBJECTIVE_RATING_CYCLE_TYPE");//CUSTOM_CONVENTION//sourceId:1797991_1
queryConfItemMatchAnswerDetailComReqDto_4.setIsPlatData("FALSE");//sourceId:1798000_1
if(reqDto!=null){
      queryConfItemMatchAnswerDetailComReqDto_4.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1797993_1
    }

    /*D2查是否开启主客观周期类型配置[2486]   */
    Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_4.getResultAspObjId(),"D2准备刷OKR树目标归属周期配置(公共)-D2查是否开启主客观周期类型配置-开通对象ID不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_4.getConfItemCode(),"D2准备刷OKR树目标归属周期配置(公共)-D2查是否开启主客观周期类型配置-配置项标识不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_4.getIsPlatData(),"D2准备刷OKR树目标归属周期配置(公共)-D2查是否开启主客观周期类型配置-是否标准答案不能为空",false);
      queryConfItemMatchAnswerDetailComRespDto_8 = confSchemeService.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_4)/*vcase invoke isSameApp*/;
      Assert.isTrue(queryConfItemMatchAnswerDetailComRespDto_8== null||  queryConfItemMatchAnswerDetailComRespDto_8.getEndValue() ==null,"找不到数据，系统异常",false);



//步骤6: M2执行智能沟通接收入参 - implementSmartSessionReceiveFieldInput
     //ModelCode: receptionService
        ImplementSmartSessionReceiveFieldInputRespDto receptionServiceRes_1 = null;
    if(queryConfItemMatchAnswerDetailComRespDto !=null){
          ImplementSmartSessionReceiveFieldInputReqDto receptionServiceReq_1=new ImplementSmartSessionReceiveFieldInputReqDto();
  if(queryConfItemMatchAnswerDetailComRespDto!=null){
      receptionServiceReq_1.setCycleMode(queryConfItemMatchAnswerDetailComRespDto.getEndValue());//SimpleFieldAssign//sourceId:1646140_1
    }
if(queryConfItemMatchAnswerDetailComRespDto_2!=null){
      receptionServiceReq_1.setSubcycleType(queryConfItemMatchAnswerDetailComRespDto_2.getEndValue());//SimpleFieldAssign//sourceId:1712594_1
    }
if(queryConfItemMatchAnswerDetailComRespDto_4!=null){
      receptionServiceReq_1.setLastCycleType(queryConfItemMatchAnswerDetailComRespDto_4.getEndValue());//SimpleFieldAssign//sourceId:1646148_1
    }
if(queryConfItemMatchAnswerDetailComRespDto_6!=null){
      receptionServiceReq_1.setSecondLastCycleType(queryConfItemMatchAnswerDetailComRespDto_6.getEndValue());//SimpleFieldAssign//sourceId:1646147_1
    }
if(queryConfItemMatchAnswerDetailComRespDto_8!=null){
      receptionServiceReq_1.setEnableSubjectiveRatingCycleType(queryConfItemMatchAnswerDetailComRespDto_8.getEndValue());//SimpleFieldAssign//sourceId:1798013_1
    }

    /*M2接收评价模板配置答案出参[8109]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_1.getCycleMode(),"D2准备刷OKR树目标归属周期配置(公共)-M2接收评价模板配置答案出参-周期模式不能为空",false);
Assert.isNull(receptionServiceReq_1.getSubcycleType(),"D2准备刷OKR树目标归属周期配置(公共)-M2接收评价模板配置答案出参-子周期周期类型不能为空",false);
Assert.isNull(receptionServiceReq_1.getLastCycleType(),"D2准备刷OKR树目标归属周期配置(公共)-M2接收评价模板配置答案出参-末级周期类型不能为空",false);
Assert.isNull(receptionServiceReq_1.getSecondLastCycleType(),"D2准备刷OKR树目标归属周期配置(公共)-M2接收评价模板配置答案出参-第二末级周期类型不能为空",false);
Assert.isNull(receptionServiceReq_1.getEnableSubjectiveRatingCycleType(),"D2准备刷OKR树目标归属周期配置(公共)-M2接收评价模板配置答案出参-开启主客观评分周期类型不能为空",false);
      receptionServiceRes_1 = nbTargetCalc.implementSmartSessionReceiveFieldInput(receptionServiceReq_1);


      receptionServiceRes_2 = receptionServiceRes_1;
           }

PreparationBrushOkrTreeTargetAttributionCycleConfComRespDto retData = new PreparationBrushOkrTreeTargetAttributionCycleConfComRespDto();
  if(receptionServiceRes_2!=null){
      retData.setCycleMode(receptionServiceRes_2.getCycleMode());//SimpleFieldAssign//sourceId:1646154_1
retData.setSubcycleType(receptionServiceRes_2.getSubcycleType());//SimpleFieldAssign//sourceId:1712596_1
retData.setLastCycleType(receptionServiceRes_2.getLastCycleType());//SimpleFieldAssign//sourceId:1646156_1
retData.setSecondLastCycleType(receptionServiceRes_2.getSecondLastCycleType());//SimpleFieldAssign//sourceId:1646157_1
retData.setEnableSubjectiveRatingCycleType(receptionServiceRes_2.getEnableSubjectiveRatingCycleType());//SimpleFieldAssign//sourceId:1798015_1
    }




return retData;
  }
/**
   * D2获取成果等级转量化得分(公共)[9437]
   * gen by moon at 4/25/2024, 1:48:49 PM
   */
  @Trace(operationName = "D2获取成果等级转量化得分(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ObtainQuantitativeScoreForAchievementLevelCalcComRespDto obtainQuantitativeScoreForAchievementLevelCalcCom(ObtainQuantitativeScoreForAchievementLevelCalcComReqDto reqDto){


      ObtainQuantitativeScoreForAchievementLevelCalcRespDto quantitativeScoreForAchievementLevelCalcRes_1 =null;
//步骤0: M2获取成果等级转量化得分 - obtainQuantitativeScoreForAchievementLevelCalc
     //ModelCode: quantitativeScoreForAchievementLevelCalc
        ObtainQuantitativeScoreForAchievementLevelCalcRespDto quantitativeScoreForAchievementLevelCalcRes = null;
    ObtainQuantitativeScoreForAchievementLevelCalcReqDto quantitativeScoreForAchievementLevelCalcReq=new ObtainQuantitativeScoreForAchievementLevelCalcReqDto();
  if(reqDto!= null&&  reqDto.getDataSetsListOne() !=null&& !CollectionUtil.isEmpty(reqDto.getDataSetsListOne())){
      quantitativeScoreForAchievementLevelCalcReq.setDataSetsListOne(reqDto.getDataSetsListOne().stream().map(item -> BeanUtil.toBean(item, DataSetsListOneDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1751593_1
    }
if(reqDto!=null){
      quantitativeScoreForAchievementLevelCalcReq.setDataSetsListTwo(reqDto.getDataSetsListTwo());//list-field-assign//sourceId:1751594_1
    }

    /*M2获取成果等级转量化得分[9435]   */

      quantitativeScoreForAchievementLevelCalcRes = nbTargetCalc.obtainQuantitativeScoreForAchievementLevelCalc(quantitativeScoreForAchievementLevelCalcReq);


      quantitativeScoreForAchievementLevelCalcRes_1 = quantitativeScoreForAchievementLevelCalcRes;

ObtainQuantitativeScoreForAchievementLevelCalcComRespDto retData = new ObtainQuantitativeScoreForAchievementLevelCalcComRespDto();
  if(quantitativeScoreForAchievementLevelCalcRes_1!=null){
      retData.setDataResult(quantitativeScoreForAchievementLevelCalcRes_1.getDataResult());//SimpleFieldAssign//sourceId:1751608_1
    }




return retData;
  }
/**
   * D2执行数值上不封顶判断(公共)[9441]
   * gen by moon at 4/25/2024, 1:49:03 PM
   */
  @Trace(operationName = "D2执行数值上不封顶判断(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementNonCappedNumJudgeComRespDto implementNonCappedNumJudgeCom(ImplementNonCappedNumJudgeComReqDto reqDto){


      ImplementTenReceivingFieldRespDto receptionServiceRes_1 =null;
if((reqDto!= null&&  reqDto.getIsCeilingScore() !=null && reqDto.getIsCeilingScore().equals("TRUE"))) {
        //if(D2执行数值上不封顶判断(公共).是否上不封顶 等于 是)  67446

//ModelCode: receptionService
        ImplementTenReceivingFieldRespDto receptionServiceRes = null;
    ImplementTenReceivingFieldReqDto receptionServiceReq=new ImplementTenReceivingFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq.setComFloatField(reqDto.getComFloatField2());//SimpleFieldAssign//sourceId:1753149_1_67447
    }

    /*M2接收出参字段[8782]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getComFloatField(),"D2执行数值上不封顶判断(公共)-M2接收出参字段-通用数值字段（小数型）不能为空",false);
      receptionServiceRes = nbTargetCalc.implementTenReceivingField(receptionServiceReq);


      receptionServiceRes_1 = receptionServiceRes;
      }
else if((reqDto!= null&&  reqDto.getIsCeilingScore() !=null && reqDto.getIsCeilingScore().equals("FALSE"))){
       //elseif(D2执行数值上不封顶判断(公共).是否上不封顶 等于 否)  67448

ImplementNumericalContrastMagnitudeComRespDto implementNumericalContrastMagnitudeComRespDto = null;
    ImplementNumericalContrastMagnitudeComReqDto implementNumericalContrastMagnitudeComReqDto=new ImplementNumericalContrastMagnitudeComReqDto();
  if(reqDto!=null){
      implementNumericalContrastMagnitudeComReqDto.setCalcPara1(reqDto.getComFloatField2());//SimpleFieldAssign//sourceId:1753151_1_67449
implementNumericalContrastMagnitudeComReqDto.setCalcPara2(reqDto.getComFloatField1());//SimpleFieldAssign//sourceId:1753152_1_67449
    }

    /*D2执行两个数值对比大小(公共)[5551]   */
    Assert.isNull(implementNumericalContrastMagnitudeComReqDto.getCalcPara1(),"D2执行数值上不封顶判断(公共)-D2执行两个数值对比大小(公共)-计算入参1不能为空",false);
Assert.isNull(implementNumericalContrastMagnitudeComReqDto.getCalcPara2(),"D2执行数值上不封顶判断(公共)-D2执行两个数值对比大小(公共)-计算入参2不能为空",false);
      implementNumericalContrastMagnitudeComRespDto = interfaceModeService.implementNumericalContrastMagnitudeCom(implementNumericalContrastMagnitudeComReqDto)/*vcase invoke isSameApp*/;



if((implementNumericalContrastMagnitudeComRespDto!= null&&  implementNumericalContrastMagnitudeComRespDto.getNumCompareResult() !=null && implementNumericalContrastMagnitudeComRespDto.getNumCompareResult().equals("BEFORE")||implementNumericalContrastMagnitudeComRespDto!= null&&  implementNumericalContrastMagnitudeComRespDto.getNumCompareResult() !=null && implementNumericalContrastMagnitudeComRespDto.getNumCompareResult().equals("PRESENT"))) {
        //if((D2执行两个数值对比大小(公共).数值比较结果 等于 之前（小于） or D2执行两个数值对比大小(公共).数值比较结果 等于 当前（等于）))  67450

//ModelCode: receptionService
        ImplementTenReceivingFieldRespDto receptionServiceRes_2 = null;
    ImplementTenReceivingFieldReqDto receptionServiceReq_1=new ImplementTenReceivingFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq_1.setComFloatField(reqDto.getComFloatField2());//SimpleFieldAssign//sourceId:1753149_1_67451
    }

    /*M2接收出参字段[8782]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_1.getComFloatField(),"D2执行数值上不封顶判断(公共)-M2接收出参字段-通用数值字段（小数型）不能为空",false);
      receptionServiceRes_2 = nbTargetCalc.implementTenReceivingField(receptionServiceReq_1);


      receptionServiceRes_1 = receptionServiceRes_2;
      }
else if((implementNumericalContrastMagnitudeComRespDto!= null&&  implementNumericalContrastMagnitudeComRespDto.getNumCompareResult() !=null && implementNumericalContrastMagnitudeComRespDto.getNumCompareResult().equals("LATER"))){
       //elseif(D2执行两个数值对比大小(公共).数值比较结果 等于 之后（大于）)  67452

//ModelCode: receptionService
        ImplementTenReceivingFieldRespDto receptionServiceRes_3 = null;
    ImplementTenReceivingFieldReqDto receptionServiceReq_2=new ImplementTenReceivingFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq_2.setComFloatField(reqDto.getComFloatField1());//SimpleFieldAssign//sourceId:1753149_1_67453
    }

    /*M2接收出参字段[8782]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_2.getComFloatField(),"D2执行数值上不封顶判断(公共)-M2接收出参字段-通用数值字段（小数型）不能为空",false);
      receptionServiceRes_3 = nbTargetCalc.implementTenReceivingField(receptionServiceReq_2);


      receptionServiceRes_1 = receptionServiceRes_3;
    }
    }
ImplementNonCappedNumJudgeComRespDto retData = new ImplementNonCappedNumJudgeComRespDto();
  if(receptionServiceRes_1!=null){
      retData.setComFloatField(receptionServiceRes_1.getComFloatField());//SimpleFieldAssign//sourceId:1753492_1
    }




return retData;
  }
/**
   * D2准备目标完成数与完成率计算配置(公共)[9666]
   * gen by moon at 5/27/2024, 7:29:16 PM
   */
  @Trace(operationName = "D2准备目标完成数与完成率计算配置(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementPrepareTargetReachedCalcConfComRespDto implementPrepareTargetReachedCalcConfCom(ImplementPrepareTargetReachedCalcConfComReqDto reqDto){


      ImplementTenReceivingFieldRespDto receptionServiceRes_2 =null;
//步骤0: M2执行第十接收字段（特殊方法） - implementTenReceivingField
     //ModelCode: receptionService
        ImplementTenReceivingFieldRespDto receptionServiceRes = null;
    ImplementTenReceivingFieldReqDto receptionServiceReq=new ImplementTenReceivingFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1820880_1
    }

    /*M2接收字段[8782]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getEvaluationTemplateId(),"D2准备目标完成数与完成率计算配置(公共)-M2接收字段-冗余评价模板ID不能为空",false);
      receptionServiceRes = nbTargetCalc.implementTenReceivingField(receptionServiceReq);




//步骤1: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
     QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto = null;
    QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto=new QueryConfItemMatchAnswerDetailComReqDto();
  queryConfItemMatchAnswerDetailComReqDto.setResultAspObjType("EVA_TEMP");//sourceId:1820652_1
queryConfItemMatchAnswerDetailComReqDto.setConfItemCode("SCHEME_DATA_PARA");//CUSTOM_CONVENTION//sourceId:1820653_1
queryConfItemMatchAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:1820654_1
      queryConfItemMatchAnswerDetailComReqDto.setResultAspObjId(reqDto.getEvaluationTemplateId());
    /*D2查评价模板商业参数配置答案（公共）[2486]   */
    Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjId(),"D2准备目标完成数与完成率计算配置(公共)-D2查评价模板商业参数配置答案（公共）-开通对象ID不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjType(),"D2准备目标完成数与完成率计算配置(公共)-D2查评价模板商业参数配置答案（公共）-开通对象类型编码不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getConfItemCode(),"D2准备目标完成数与完成率计算配置(公共)-D2查评价模板商业参数配置答案（公共）-配置项标识不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getIsPlatData(),"D2准备目标完成数与完成率计算配置(公共)-D2查评价模板商业参数配置答案（公共）-是否标准答案不能为空",false);
      queryConfItemMatchAnswerDetailComRespDto = confSchemeService.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto)/*vcase invoke isSameApp*/;




//步骤2: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
     QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_2 = null;
    QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_1=new QueryConfItemMatchAnswerDetailComReqDto();
  queryConfItemMatchAnswerDetailComReqDto_1.setResultAspObjType("EVA_TEMP");//sourceId:1820656_1
queryConfItemMatchAnswerDetailComReqDto_1.setConfItemCode("DEGREE_DECIMAL_POINT");//CUSTOM_CONVENTION//sourceId:1820657_1
queryConfItemMatchAnswerDetailComReqDto_1.setIsPlatData("FALSE");//sourceId:1820658_1
      queryConfItemMatchAnswerDetailComReqDto_1.setResultAspObjId(reqDto.getEvaluationTemplateId());

    /*D2查达成度小数点规则配置答案[2486]   */
    Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getResultAspObjId(),"D2准备目标完成数与完成率计算配置(公共)-D2查达成度小数点规则配置答案-开通对象ID不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getResultAspObjType(),"D2准备目标完成数与完成率计算配置(公共)-D2查达成度小数点规则配置答案-开通对象类型编码不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getConfItemCode(),"D2准备目标完成数与完成率计算配置(公共)-D2查达成度小数点规则配置答案-配置项标识不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getIsPlatData(),"D2准备目标完成数与完成率计算配置(公共)-D2查达成度小数点规则配置答案-是否标准答案不能为空",false);
      queryConfItemMatchAnswerDetailComRespDto_2 = confSchemeService.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_1)/*vcase invoke isSameApp*/;




//步骤3: D2-3查配置项匹配答案详情(公共)（跨服务） - queryConfItemMatchAnswerDetailCom
     QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_4 = null;
    QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_2=new QueryConfItemMatchAnswerDetailComReqDto();
  queryConfItemMatchAnswerDetailComReqDto_2.setResultAspObjType("EVA_TEMP");//sourceId:1820895_1
queryConfItemMatchAnswerDetailComReqDto_2.setConfItemCode("DECIMAL_DIGITS_LAST_RULES");//CUSTOM_CONVENTION//sourceId:1820896_1
queryConfItemMatchAnswerDetailComReqDto_2.setIsPlatData("FALSE");//sourceId:1820897_1
if(reqDto!=null){
      queryConfItemMatchAnswerDetailComReqDto_2.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1820894_1
    }

    /*D2查询小数最后一位规则[2486]   */
    Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_2.getResultAspObjId(),"D2准备目标完成数与完成率计算配置(公共)-D2查询小数最后一位规则-开通对象ID不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_2.getResultAspObjType(),"D2准备目标完成数与完成率计算配置(公共)-D2查询小数最后一位规则-开通对象类型编码不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_2.getConfItemCode(),"D2准备目标完成数与完成率计算配置(公共)-D2查询小数最后一位规则-配置项标识不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_2.getIsPlatData(),"D2准备目标完成数与完成率计算配置(公共)-D2查询小数最后一位规则-是否标准答案不能为空",false);
      queryConfItemMatchAnswerDetailComRespDto_4 = confSchemeService.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_2)/*vcase invoke isSameApp*/;




//步骤4: M2执行第十接收字段（特殊方法） - implementTenReceivingField
     //ModelCode: receptionService
        ImplementTenReceivingFieldRespDto receptionServiceRes_1 = null;
    if(queryConfItemMatchAnswerDetailComRespDto !=null){
          ImplementTenReceivingFieldReqDto receptionServiceReq_1=new ImplementTenReceivingFieldReqDto();
  if(queryConfItemMatchAnswerDetailComRespDto!=null){
      receptionServiceReq_1.setSchemeDataPara(queryConfItemMatchAnswerDetailComRespDto.getEndValue());//SimpleFieldAssign//sourceId:1820892_1
    }
if(queryConfItemMatchAnswerDetailComRespDto_2!=null){
      receptionServiceReq_1.setDegreeDecimalPoint(Long.valueOf(queryConfItemMatchAnswerDetailComRespDto_2.getEndValue()));//SimpleFieldAssign//sourceId:1820888_1
    }
if(queryConfItemMatchAnswerDetailComRespDto_4!=null){
      receptionServiceReq_1.setDecimalDigitsLastRules(queryConfItemMatchAnswerDetailComRespDto_4.getEndValue());//SimpleFieldAssign//sourceId:1820889_1
    }

    /*M2接收配置参数出参[8782]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_1.getDegreeDecimalPoint(),"D2准备目标完成数与完成率计算配置(公共)-M2接收配置参数出参-达成度小数点规则不能为空",false);
Assert.isNull(receptionServiceReq_1.getDecimalDigitsLastRules(),"D2准备目标完成数与完成率计算配置(公共)-M2接收配置参数出参-小数最后一位规则不能为空",false);
      receptionServiceRes_1 = nbTargetCalc.implementTenReceivingField(receptionServiceReq_1);


      receptionServiceRes_2 = receptionServiceRes_1;
           }

ImplementPrepareTargetReachedCalcConfComRespDto retData = new ImplementPrepareTargetReachedCalcConfComRespDto();
  if(receptionServiceRes_2!=null){
      retData.setSchemeDataPara(receptionServiceRes_2.getSchemeDataPara());//SimpleFieldAssign//sourceId:1820899_1
retData.setDegreeDecimalPoint(receptionServiceRes_2.getDegreeDecimalPoint());//SimpleFieldAssign//sourceId:1820900_1
retData.setDecimalDigitsLastRules(receptionServiceRes_2.getDecimalDigitsLastRules());//SimpleFieldAssign//sourceId:1820901_1
    }




return retData;
  }
  //
}
